Skip to content

Don't add write only fields for tgc#16332

Merged
zli82016 merged 2 commits intoGoogleCloudPlatform:mainfrom
zli82016:tgc-fix-unit-test
Feb 10, 2026
Merged

Don't add write only fields for tgc#16332
zli82016 merged 2 commits intoGoogleCloudPlatform:mainfrom
zli82016:tgc-fix-unit-test

Conversation

@zli82016
Copy link
Member

@zli82016 zli82016 commented Feb 6, 2026

Don't add write only fields for tgc, as the write only fields are not in input of tfplan2cai, tfplan json.

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.


@zli82016 zli82016 force-pushed the tgc-fix-unit-test branch 4 times, most recently from 621bd11 to f97d32a Compare February 7, 2026 00:04
@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@zli82016 zli82016 marked this pull request as ready for review February 7, 2026 01:33
@zli82016 zli82016 requested a review from melinath February 9, 2026 17:20
Copy link
Member

@melinath melinath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should handle this with Compiler instead of adding a new ProviderName field that contains the same information.

Also, it would be good to change the code to set Compiler at load time instead of MMv1 provider instantiation, similar to #16217, to avoid problems later. (We should probably also only set compiler on the Product and always read if from there instead of duplicating it onto resources, if possible.)

@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@zli82016
Copy link
Member Author

/gcbrun

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

terraform-google-conversion: Diff ( 8 files changed, 3 insertions(+), 194 deletions(-))

@zli82016 zli82016 requested a review from melinath February 10, 2026 16:33
@zli82016 zli82016 added this pull request to the merge queue Feb 10, 2026
Merged via the queue into GoogleCloudPlatform:main with commit 1ce4531 Feb 10, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants